<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title>登录</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <link rel="shortcut icon" th:href="@{/assets/images/favicon.ico}" href="favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/bootstrap.min.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/font-awesome.min.css}"/>
    <!--[if IE 7]>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/font-awesome-ie7.min.css}" />
    <![endif]-->
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/jquery-ui-1.10.3.custom.min.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/datepicker.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/bootstrap-timepicker.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/bootstrap-datetimepicker.min.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/daterangepicker.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/fullcalendar.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/select2.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/select2-bootstrap.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/chosen.css}"/>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/zTree/zTree.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/colorbox.css}" type="text/css"/>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/ace-fonts.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/ace.css}"/>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/ace-rtl.min.css}" />
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/ace-skins.min.css}" />
    <link rel="stylesheet" th:href="@{/assets/css/style.css}" />
    <!--[if lte IE 8]>
    <link rel="stylesheet" th:href="@{/assets-lib/ace/css/ace-ie.min.css}" />
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="@{/assets-lib/ace/js/html5shiv.js}"></script>
    <script src="@{/assets-lib/ace/js/respond.min.js}"></script>
    <![endif]-->
</head>

<body class="login-layout">
<div class="main-container">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="login-container">
                    <div class="center">
                        <h1>
                            <img th:src="@{/assets/images/ai64x64.png}" style="width: 48px;"/>
                            <span class="white">艾智汇</span>
                        </h1>
                    </div>

                    <div class="space-6"></div>

                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header blue lighter bigger">
                                        <i class="icon-coffee green"></i>
                                        输入用户名和密码登录
                                    </h4>

                                    <div class="space-6"></div>

                                    <form th:action="@{/login/check}" action="" method="post">
                                        <fieldset>
                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <input type="text" name="username" class="form-control" placeholder="登录用户名" />
                                                    <i class="icon-user"></i>
                                                </span>
                                            </label>

                                            <label class="block clearfix">
                                                <span class="block input-icon input-icon-right">
                                                    <input type="password" name="password" class="form-control" placeholder="密码" />
                                                    <i class="icon-lock"></i>
                                                </span>
                                            </label>

                                            <h5 class="red" th:text="${msg}"></h5>

                                            <div class="clearfix">
                                                <button type="submit" class="width-100 btn btn-sm btn-primary">
                                                    <i class="icon-key"></i>
                                                    登录
                                                </button>
                                            </div>

                                            <div class="space-4"></div>
                                        </fieldset>
                                    </form>
                                </div><!-- /widget-main -->
                            </div><!-- /widget-body -->
                        </div><!-- /login-box -->
                    </div><!-- /position-relative -->
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div>
</div><!-- /.main-container -->

<!--
<script th:src="@{/assets-lib/ace/js/jquery-2.1.0.min.js}"></script>
<script type="text/javascript">
</script>
-->

</body>
</html>